home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Forcing a draw
- Sent: 5/17/96 9:06 AM
- Received: 5/17/96 9:21 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Subject: Forcing a draw Time: 8:32 AM Date:5/17/96
- >
- >In a DoMouseDown of a subView, the user is dragging a point in a graph, thus
- >changing the data in the model layer. The model has dependents, including
- >some views, which are notified of the change. The views need to redraw
- >themselves immediately; i.e., without waiting for an update, so that the user
- >gets feedback about the effects of the drag during the drag.
- >
- >I have been unable to discover any way to force an immediate redraw of an
- >individual view. Can anyone help me?
- >
- >I'm using ODF d11 and downloading ODF 1.0 as I write.
- >
- >Bill Finzer
- >Key Curriculum Press
-
- This easiest way would be to call Invalidate on the view and immediately
- call Draw. We need to add a ForceRedraw method.
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-